package com.ithe.orderandpay;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @BelongsProject: housekeeping
 * @BelongsPackage: com.ithe.orderandpay
 * @Author: jingjianghao
 * @CreateTime: 2022-08-27  15:48
 * @Description: TODO
 * @Version: 1.0
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients(basePackages = {"com.ithe.goods","com.ithe.user","com.ithe.orderandpay"})
public class OrderAndPayApplication {

        public static void main(String[] args) {
            SpringApplication.run(OrderAndPayApplication.class,args);
        }

}
